package com.hh.flow.domain.tables;

import com.mybatisflex.core.query.QueryColumn;
import com.mybatisflex.core.table.TableDef;

/**
* 结点跳转关联表tableDef
* default_columns中不能放ignore、isLarge、isLogicDelete
* @author hh
* @date 2023-05-02
*/
public class FlowSkipTableDef extends TableDef {

    public static final FlowSkipTableDef flow_skip = new FlowSkipTableDef("flow_skip");

    public QueryColumn id = new QueryColumn(this, "id");
    public QueryColumn definition_id = new QueryColumn(this, "definition_id");
    public QueryColumn node_id = new QueryColumn(this, "node_id");
    public QueryColumn now_node_code = new QueryColumn(this, "now_node_code");
    public QueryColumn next_node_code = new QueryColumn(this, "next_node_code");
    public QueryColumn condition_value = new QueryColumn(this, "condition_value");
    public QueryColumn create_by = new QueryColumn(this, "create_by");
    public QueryColumn create_time = new QueryColumn(this, "create_time");
    public QueryColumn update_by = new QueryColumn(this, "update_by");
    public QueryColumn update_time = new QueryColumn(this, "update_time");
    public QueryColumn del_flag = new QueryColumn(this, "del_flag");

    public QueryColumn[] default_columns = new QueryColumn[]{ id, definition_id, node_id, now_node_code, next_node_code, condition_value, create_by, create_time, update_by, update_time, };
    public QueryColumn[] all_columns = new QueryColumn[]{ id, definition_id, node_id, now_node_code, next_node_code, condition_value, create_by, create_time, update_by, update_time, del_flag};

    public FlowSkipTableDef(String tableName) {
        super(tableName);
    }
}
